Skip to main content

ModifyAntiBruteForceRule

Description

call the ModifyAntiBruteForceRule to modify the brute-force cracking prevention rule.

Request Method

POST

Request Path

/apsara/route/Sas/ModifyAntiBruteForceRule

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
DefaultRuleBODYbooleanNotruewhether the added brute-force defense rule is set as the default policy. true: set as default policy false: not set as the default policy
ForbiddenTimeBODYintegerNo12the length of time to prohibit login when adding brute-force defense rules.
SourceIpBODYstringNo1.2.3.4access the IP address of the source.
regionIdBODYstringYesNo sample value for this parameter.region id
FailCountBODYintegerNo10the threshold for the number of login failures set when adding brute-force defense rules.
UuidList.NBODYrepeatlistNouuid-13213-dasdaList of servers where the brute force defense rule takes effect.
IdBODYlongNo6263ID of brute force cracking defense rules.
SpanBODYintegerNo10the interval between logons set in the brute-force cracking defense rule.
versionBODYstringNo2016-01-01version of api
NameBODYstringNobest practicesthe name of the brute-force defense rule.

Return data

NameTypeSample valueDescription
RequestIdstringF35F45B0-5D6B-4238-BE02-A62D0760E840the unique identifier generated by alibaba cloud for this request.

Example

Successful Response example

{
"RequestId":"F35F45B0-5D6B-4238-BE02-A62D0760E840"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}